package edu.upc.clase.demo.service.impl;

import edu.upc.clase.demo.dao.HoraDao;
import edu.upc.clase.demo.dao.impl.HoraDaoImpl;
import edu.upc.clase.demo.entity.Hora;
import edu.upc.clase.demo.service.HoraService;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @Six-Group-Upc
 *
 */
@Service
public class HoraServiceImpl implements HoraService {

    private static Logger log = LoggerFactory.getLogger(HoraDaoImpl.class);    
    
    @Autowired
    private HoraDao horaDao;


    @Override
    public List<Hora> buscarTodos() {
        log.info("Buscando todos las horas");
        return horaDao.buscarTodos();
    }




}
